package com.itheima.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Date;

@ApiModel
@Data
public class Stock4RtNewWater {

    //当前时间，精确到分
    @JsonFormat(pattern = "yyyyMMddHHmm")
    @ApiModelProperty(value = "当前时间，精确到分", position = 1)
    private Date date;

    //交易量
    @ApiModelProperty(value = "交易量", position = 2)
    private Long tradeAmt;

    //交易金额
    @ApiModelProperty(value = "交易金额", position = 3)
    private Long tradeVol;

    //交易价格
    @ApiModelProperty(value = "交易价格", position = 4)
    private BigDecimal tradePrice;


}
